package com.pal.other.controller;

import com.pal.common.vo.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Random;

/**
 * @Author：LSM
 * @Date：2022/07/18/16:27
 */
@RestController
@RequestMapping("/server/test/")
public class TestController {
    @GetMapping("luck.do")
    public R luck(){
        return R.ok("你的幸运数字"+new Random().nextInt(10));
    }

}
